How to Cancel a Task
نویسندگان
چکیده
Task parallelism is ubiquitous in modern applications for event-based, distributed, or reactive systems. In this type of programming, the ability to cancel a running task arises as a critical feature. Although there are a variety of cancellation techniques, a comprehensive account of their characteristics is missing. This paper provides a classification of task cancellation patterns, as well as a detailed analysis of their advantages and disadvantages. One promising approach is cooperative cancellation, where threads must be continuously prepared for external cancellation requests. Based on this pattern, we propose an extension of SCOOP, an object-oriented concurrency model.
منابع مشابه
Neural control of behavior: countermanding eye movements.
Understanding the self-control of action entails knowledge about how actions are initiated, how planned actions are canceled and how the consequences of actions are registered. We have investigated neural correlates of these processes using the countermanding paradigm--a task that required subjects to occasionally cancel a planned speeded response, and an analysis that provides an estimate of t...
متن کاملAudience awareness of Persian learners of English writing: Towards a model of task-oriented strategies
Persian learners of English often avoid attending to audience considerations, which brings them lower scores. The present study was conducted in a major university in Iran to help Persian learners develop a sense of audience awareness in writing. Thirty five Persian students of English were trained with a focus on process-oriented instruction. The intended task was a...
متن کاملTask Type and Prompt Effect on Test Performance: A Focus on IELTS Academic Writing Tasks
Recent versions of international high-stakes tests like TOEFL and IELTS have made use of integrated tasks in addition to the traditional independent tasks in a claim to provide a more realistic estimation of the test takers’ language abilities. The present study aimed to investigate how test takers’ performance may differ on such tasks. As such, the test takers’ performance was compared on IELT...
متن کاملI-4: Is It Time Now to Cancel Fresh EmbryoTransfer
The implantation of embryo depends on the quality of the embryo and the receptivity of the endometrium. While the factors affecting embryo quality were optimized, the implantation rates did not reach the desirable levels. This directs the blaming for endometrial receptivity which already has been affected by supra-physiological levels of hormone, namely estradiol, in controlled ovarian hypersti...
متن کاملTask-Induced Involvement in L2 Vocabulary Learning: A Case for Listening Comprehension
The study aimed at investigating whether the retention of vocabulary acquired incidentally is dependent upon the amount of task-induced involvement. Immediate and delayed retention of twenty unfamiliar words was examined in three learning tasks( listening comprehension + group discussion, listening comprehension + dictionary checking + summary writing in L1, and listening comprehension + dictio...
متن کامل